/**
 * MusicDao.java
 *
 */
package com.myspace.dao;

import java.util.List;
import com.myspace.domain.Music;

public interface MusicDao extends GenericDao<Music, Long> {

	List<Music> findByYear(Long userId, String yearTime,String pageNo);

	List<Music> findByCategory(Long userId, String category, String pageNo);

	List<String> findAllCategory(Long userId);

	int findCountByYear(Long userId, String year);

	int findCountByCategory(Long userId, String category);

	List<String> findAllYear(Long userId);

}
